home *** CD-ROM | disk | FTP | other *** search
Wrap
XSetup plugin | 2002-01-10 | 2.0 KB | 83 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0" "TYPE"="6" "COUNT"="3" "UIPATH"="Internet\Instant Messaging\Windows Messenger\System" "NAME"="General Settings" "VERSION"="1.13" "LANGUAGE"="VBScript" "TEXT 1"="Enable promotional offerings/advertisement" "TEXT 2"="Allow connections to Exchange servers and MSN Messenger" "TEXT 3"="Enable automatic updates" "DESCRIPTION 1"="Some options for Exchange Messenger/Windows Messenger." "DESCRIPTION 2"="NOTE: This first setting only works if the second option is also activated, which means that you can only connect to an Exchange Server computer." "AUTHOR"="Xteq Systems" "CONTACTURL"="http://www.xteq.com" "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved" "COMMENT 1"="check http://support.microsoft.com/support/kb/articles/Q260/2/21.ASP" "COMMENT 2"="Thanks to CptSiskoX for the settings and the idea." sP="HKLM\SOFTWARE\Microsoft\MessengerService\" sV1="HKLM\SOFTWARE\Microsoft\MessengerService\Policies\DisableCrossPromo" sV2="HKLM\SOFTWARE\Microsoft\MessengerService\Policies\ExchangeCONN" sV3="HKLM\SOFTWARE\Microsoft\MessengerService\Policies\DisableUpdates" Sub Plugin_Initialize if RegPathExists(sP) then i=RegReadValue(sV1) if i<>"80" then SetUiElement 1,true i=RegReadValue(sV2) if i<>"80" then SetUiElement 2,true i=RegReadValue(sV3) if i<>"80" then SetUiElement 3,true else Call Disable() end if End Sub Sub Plugin_CheckData(ElementIndex) End Sub Sub Plugin_Apply(ElementIndex,ElementSubIndex) b=GetUIElement(1) if b=true then if RegValueExists(sV1) then RegDeleteValue(sV1) else Call RegWriteValue(sV1,"80",3) end if b=GetUIElement(2) if b=true then if RegValueExists(sV2) then RegDeleteValue(sV2) else Call RegWriteValue(sV2,"80",3) end if b=GetUIElement(3) if b=true then if RegValueExists(sV3) then RegDeleteValue(sV3) else Call RegWriteValue(sV3,"80",3) end if Call Logoff() End Sub Sub Plugin_Terminate End Sub